package com.fastadmin.thread;

import com.fastadmin.pojo.FUser;
import com.fastadmin.pojo.User;
import io.netty.util.concurrent.FastThreadLocal;

public class FUserThreadLocal {
    private static final FastThreadLocal<FUser> LOCAL = new FastThreadLocal<FUser>();
    private FUserThreadLocal() {}
    public static void set(FUser user) {
        LOCAL.set(user);
    }
    public static FUser get() {
        return LOCAL.get();
    }

}
